<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %><%--jstl을 쓰기 위해 사용 --%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %><%--숫자 포맷을 사용하기 위해 사용 --%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions"  prefix="fn"%><%--함수들을 이용하기 위해 사용 --%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<!--<script type="text/javascript" src="script/sms_riskI_script.js"></script>-->
</head>
<body onload="moveInsertPage('masecret_insertPage','${requestScope.update }')">
<div class="box">
      		<h4 class="white">
      			<span class="align-left">자산기밀등급분류</span>
	      		<span class="align-right">마감상태(자산식별및평가) :
		      		<c:choose>
		      			<c:when test="${sessionScope.magamSession[1].state =='Y'}">
		      				 마감
		      			</c:when>
		      			<c:otherwise>
		      				 착수
		      			</c:otherwise>
		      		</c:choose>
	      		</span>
      		</h4>
	 <div class="box-container2">
		 <form action="riskIAction.do" method="post" name="masecret" onsubmit="return false;">
		 <input type="hidden" name="pro_id" value="${sessionScope.lastProId }"></input>
		 <input type="hidden" name="reloadPageName" value="#tabs-3"></input>
	 		<c:choose>
				<c:when test="${requestScope.update=='Y' }">
					 <input type="hidden" name="mode" value="masecret_update"></input>
					<input type="hidden" name="asc_id" id="insertNum" value="${requestScope.vo.asc_id }"></input>
				</c:when>
				<c:otherwise>
				    <input type="hidden" name="mode" value="masecret_insert"></input>
				   <input type="hidden" name="asc_id" id="insertNum" value="${requestScope.maxNo }"></input>
				</c:otherwise>
			</c:choose>	
		 	<table class="insertTableL" >
	   			<tfoot>
	   				<tr>
	   					<td>
	                     	<div class="align-right">
	                     		<c:choose>
		                       		<c:when test="${sessionScope.magamSession[1].state !='Y'}">
		                       		<!-- 마감 현황이 유무 판별(Y 시 입력 불가) -->
		                       			<a href="#" class="button" onclick="riskIWrite('masecret');return false;"><span>저장</span></a>
		                       		</c:when>
		                       		<c:otherwise>
		                       			<a href="#" class="button1 addMargin" onclick="return false;"><span>저장</span></a>
		                       		</c:otherwise>
		                       	</c:choose>
	                     	
	                     	<a href="#" class="button" onclick="javascript: riskICancleWriteTab('makind', 3)"><span>닫기</span></a></div>
	                     </td>
	   				</tr>
	   			</tfoot>
	   		</table>
	   		<table class="insertTableL" >
	   			<colgroup>
	   				<col width="110px"/>
	   				<col width=""/>
	   			</colgroup>
	   			<tbody>
	   				<tr>
	   					<td class="titleName">기밀등급 <span class="red">＊</span></td>
	   					<td>
	   						<input type="text" name="asc_level" id="asc_level"  maxlength="10" size="10" value="${requestScope.vo.asc_level }" />
	   					</td>
	   				</tr>
	   				<tr>
	   					<td class="col-rowspanMid titleName">
		   					등 급
		   					<br/>부여기준</td>
	   					<td>
	   						<textarea class="textfiled" name="asc_standard" rows="10" id="asc_standard">${requestScope.vo.asc_standard }</textarea>
	   					</td>
	   				</tr>
	   			</tbody>
	   		</table>
   		</form>
	</div>
</div>
</body>
</html>
